﻿<%@ Page Language="C#" Inherits="OpenRasta.Codecs.WebForms.ResourceView<UserResource>" MasterPageFile="~/Views/HomeView.Master" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" ID="content" runat="server">
    <div>
        User Resource
        <p>Name :        <%= Resource.Username %> </p>
        
        Messages:
        <ul>
        <% foreach (var message in Resource.Messages) {  %>
	<li>	  <%= message.Twitt %> </li>
		<%}  %>
</ul>
		<br />
		<br />
		Follows:
		<ul>
		 <% foreach (var user in Resource.Follows) {  %>
		  <li><a href="<%= user.CreateUri() %>">  <%= user.Username%> </a></li>
		<%}  %>
		</ul>
    </div>
</asp:Content>
